gtk-demo: Add a permutation to compute colors from the position
authorBenjamin Otte <otte@redhat.com>
Sun, 21 Jun 2020 02:11:24 +0000 (04:11 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 21 Jun 2020 12:17:47 +0000 (14:17 +0200)
commitf149beb4749898050188a6006363adef4e652917
tree929ecc89a9934cbdf7a501c2ccdacf77bc6e7007
parent1b0451761aac222f8c100f3834c3a314ce56e60e
gtk-demo: Add a permutation to compute colors from the position

This way, the colors are furthest apart at the start and fill up the
remaining spots towards the end.
demos/gtk-demo/listview_colors.c